#ifndef __WIZ_SP_OCTREE_NODE_HPP__SHANHAOBO_19800429__
#define __WIZ_SP_OCTREE_NODE_HPP__SHANHAOBO_19800429__

#include "./WizSPOctreeForwardDeclare.hpp"

namespace Wiz
{
    namespace Octree
    {
        namespace Node
        {
            template<class LocationT, class DataT, class WorldSizeT, class BaseT>
            struct Type : public ::Wiz::SP::Node::Type<LocationT, DataT, WorldSizeT, BaseT>
            {
                WIZ_DECLARE_CLASS_THIS(Type);

                typedef ::Wiz::StaticArray::Type<eChildrenCount, tThisPtr> tChildren;

                tChildren m_Children;

                Type()
                {
                    for (::Wiz::UInt::Type i = 0; i < eChildrenCount; ++i)
                    {
                        m_Children[i] = WIZ_NULLPTR;
                    }
                }
            };
        } /// end of namespace Node
    } /// end of namespace Octree
} /// end of namespace Wiz

#endif /*__WIZ_SP_OCTREE_NODE_HPP__SHANHAOBO_19800429__*/
